<link href="[applicationUrl;noer;]/public/css/adminuser.css" rel="stylesheet" type="text/css" />
<div id="nav">
    <div id="taskButton">
        <a href="[baseUrl;noer;]/admin/usercreate">Thêm user</a>
    </div>
    <div id="navigation">
        <a href="">Trang 1.2.3.4.5</a>
    </div>
</div>
<div id="result">
    <table width="880" border="0" >
      <tr>
        <td width="20" class="header">#</td>
        <td width="200" class="header">Tên</td>
        <td width="250" class="header">Email</td>
        <td width="100" class="header">Điện thoại</td>
        <td class="header" width="80">Giới tính</td>
        <td class="header" width="130">Last login</td> 
        <td class="header" width="130">Action</td> 
      </tr>
      [user;block=begin;noerr;]
      <tr>
        <td class="row">2</td>
        <td class="row"><a href="[baseUrl;noer;]/admin/usercreate/id/[user.id]">[user.username;]</a></td>
        <td class="row">[user.email;]</td>
        <td class="row">[user.telephone;]</td>
        <td class="row">[user.gender; if [val]=1; then 'Nam'; else 'Nu';]</td>
        <td class="row">[user.last_login;frm='dd/mm/yyyy']</td>   
        <td class="row"><a href="[baseUrl;noer;]/admin/usercreate/id/[user.id]">Edit</a> | 
                        <a href="[baseUrl;noer;]/admin/userdelete/id/[user.id]">Delete</a> </td>   
      </tr>
      [user;block=end;]
    </table>
</div>
<div id="nav">
    <div id="taskButton">
        <a href="[baseUrl;noer;]/admin/usercreate">Thêm user</a>
    </div>
    <div id="navigation">
        <a href="">Trang 1.2.3.4.5</a>
    </div>
</div>